projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d8237
)
Fix a minor snafu when resizing frames on Haiku
author
Po Lu
<luangruo@yahoo.com>
Sun, 16 Jan 2022 00:47:41 +0000
(
00:47
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 16 Jan 2022 00:47:41 +0000
(
00:47
+0000)
* src/haiku_support.cc (BWindow_resize): Adjust for minor snafu
where BWindow::ResizeTo uses BRect-style width and height
instead of actual width and height.
src/haiku_support.cc
patch
|
blob
|
history
diff --git
a/src/haiku_support.cc
b/src/haiku_support.cc
index d49e319b98c08561ab469527aa3677f4e5b98710..4b180f98b7cb17cffa3352b78fe65cc9daa80066 100644
(file)
--- a/
src/haiku_support.cc
+++ b/
src/haiku_support.cc
@@
-1861,7
+1861,7
@@
BWindow_retitle (void *window, const char *title)
void
BWindow_resize (void *window, int width, int height)
{
- ((BWindow *) window)->ResizeTo (width
, height
);
+ ((BWindow *) window)->ResizeTo (width
- 1, height - 1
);
}
/* Activate WINDOW, making it the subject of keyboard focus and